# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mate-panel
pkgver=1.24.0
pkgrel=0
pkgdesc="The MATE panel is the area on your desktop from which you can run applications"
url="https://github.com/mate-desktop/mate-panel"
arch="all !s390x !mips !mips64" # mate-desktop
license="GPL-2.0-or-later AND LGPL-2.0-or-later"
depends="mate-common mate-desktop"
makedepends="librsvg-dev libmateweather-dev libtool intltool itstool
	mate-menus-dev dconf-dev libice-dev libsm-dev libcanberra-dev dbus-glib-dev
	libwnck3-dev libsoup-dev mate-desktop-dev libxml2-utils"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/mate-panel-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--sysconfdir=/etc \
		--enable-static=no \
		--prefix=/usr
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="12a88534400603998b4d4d415940947dd6372914135aa8eb6052c75e134412739a96064ad654e8f2625dbb6fe853e8cb376c41e530c30234e08141a46634820b  mate-panel-1.24.0.tar.xz"
